package com.daka.service;

import com.daka.bean.User;
import org.springframework.http.ResponseEntity;

import java.text.ParseException;

public interface UserService {

    ResponseEntity insert(User record ) throws ParseException;

    ResponseEntity findAll() throws ParseException;

    ResponseEntity findMe(User user);

    ResponseEntity findAll1();

    ResponseEntity delete(User user)  throws ParseException;

    ResponseEntity backup();
}
